﻿<!--#include file="inc/conn.asp"-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="copyright" content="Copyright (c) 2008-2009 ujobok.com" />
<meta name="description" content="" />
<meta name="Keywords" content="" />
<title>招聘会</title>
<link href="style/common.css" rel="stylesheet" rev="stylesheet" type="text/css" />
<link href="style/layout.css" rel="stylesheet" rev="stylesheet" type="text/css" />
<!--[if IE]><link href="style/ie.css" rel="stylesheet" rev="stylesheet" type="text/css" /><![endif]-->
<script type="text/javascript">
function SetTab(cID,tID,cTag,tTag,tCSS){
	var tElmts = document.getElementById(tID).getElementsByTagName(tTag);
	var cElmts = document.getElementById(cID).getElementsByTagName(cTag);
	function tab(i){
		tElmts[i].onclick = function(){none();cElmts[i].style.display = "";tElmts[i].className = tCSS;tElmts[i].blur;};
	}
	for(i=0;i<tElmts.length;i++){
		tab(i);
	}
	function none(){
		for(i=0;i<tElmts.length;i++){
			cElmts[i].style.display = "none";
			tElmts[i].className = '';
		}
	}
	none();
	cElmts[0].style.display = "";
	tElmts[0].className = tCSS;
}
<%
CityJs = CityJs & "var District = ["
set rsJsP = server.CreateObject("adodb.recordset")
sqlJsP = "select ID,CityName,EnName from [City] where RootID = 0 order by OrderID"
rsJsP.open sqlJsP,conn,1,1
	for i = 1 to rsJsP.recordcount
		PID = rsJsP("ID")
		PCityName = rsJsP("CityName")
		PEnName = rsJsP("EnName")
		CityJs = CityJs & "{ID:"&PID&",Name:'"&PCityName&"',EnName:'"&Lcase(PEnName)&"'"
		set rsJsC = server.CreateObject("adodb.recordset")
		sqlJsC = "select ID,CityName from [City] where RootID ="&PID&" order by OrderID"
		rsJsC.open sqlJsC,conn,1,1
		if not rsJsC.eof then
			CityJs = CityJs & ",City:["
			for j = 1 to rsJsC.recordcount
				CID = rsJsC("ID")
				CCityName = rsJsC("CityName")
				CityJs = CityJs & "{ID:"&CID&",Name:'"&CCityName&"'"
				if j = rsJsC.recordcount then
					CityJs = CityJs & "}"
				else
					CityJs = CityJs & "},"
				end if
			rsJsC.movenext
			next
			CityJs = CityJs & "]"
		end if
		if i = rsJsP.recordcount then
			CityJs = CityJs & "}"
		else
			CityJs = CityJs & "},"
		end if
	rsJsP.movenext
	next
rsJsC.close
set rsJsC = nothing
rsJsP.close
set rsJsP = nothing
CityJs = CityJs & "];"&vbcrlf
response.Write(CityJs)
%>
//第一组
function selectDistrict() { 
	with(document.forms[0].province) {
		var PID = options[selectedIndex].value;
	} 
	for(i = 0;i < District.length;i ++) { 
		if (District[i].ID == PID) { 
			//loca3 = (where[i].locacity).split("|"); 
			if(District[i].City){
				for(j = 0;j < District[i].City.length;j++) {
					with(document.forms[0].city) {
						length = District[i].City.length;
						options[j].text = District[i].City[j].Name;
						options[j].value = District[i].City[j].ID;
						//var loca4=options[selectedIndex].value;
					}
				}
			}else{
				with(document.forms[0].city) {
					length = 1;
					options[0].text = "不限";
					options[0].value = "";
				}//with
			}//if
			
			//
			break; 
		}
	} 
}
function onloadDistrict() {
//onload 第一组
	with(document.forms[0].province) { 
		length = District.length; 
		for(k=0;k<length;k++) {
			options[k].text = District[k].Name;
			options[k].value = District[k].ID;
		} 
		options[selectedIndex].text = District[0].Name;
		options[selectedIndex].value = District[0].ID; 
	}
	with(document.forms[0].city) { 
		if(District[0].City){
			length = District[0].City.length; 
			for(l=0;l<length;l++) {
				options[l].text = District[0].City[l].Name;
				options[l].value = District[0].City[l].ID;
			} 
			options[selectedIndex].text = District[0].City[0].Name;
			options[selectedIndex].value = District[0].City[0].ID; 	
		}
		else{
			length = 1;
			options[0].text = "不限";
			options[0].value = "";
		}
	}
}
function changeCity(){
	changeCityObj = document.getElementById('changeCity');
	if(!changeCityObj){
		var cityStr="";
		for (i=0;i<District.length;i++){
			cityStr = cityStr + '<a href="'+District[i].EnName+'.html">'+District[i].Name+'</a>';
		}
		var parentObj = document.getElementById("thisCity");
		var div = document.createElement("div");
		div.id = "changeCity";
		div.innerHTML = cityStr;
		parentObj.appendChild(div);
		
	}
	if(changeCityObj.style.display == 'none' ){
		changeCityObj.style.display = "";
	}else{
		changeCityObj.style.display = 'none';
	}
}

window.onload = function(){onloadDistrict();SetTab("fairList","fairTab","ul","li","cur");document.forms[0].province.onchange = selectDistrict};

</script>
</head>
<%
Function getProvince
	set rsProvince = server.CreateObject("adodb.recordset")
	sqlProvince = "select * from City where RootID = 0 order by OrderID"
	rsProvince.open sqlProvince,conn,1,1
	do while not rsProvince.eof
		CityName = rsProvince("CityName")
		EnName = rsProvince("EnName")
		Province = Province & "<a href="""&SitePath&Lcase(EnName)&".html"">" & CityName & "</a>"
	rsProvince.movenext
	loop
	rsProvince.close
	set rsProvince = nothing
	getProvince = Province
End Function

Function getCity
	set rsCity = server.CreateObject("adodb.recordset")
	sqlCity = "select * from City where Recommend = 1 order by rootid"
	rsCity.open sqlCity,conn,1,1
	do while not rsCity.eof
		RootID = rsCity("RootID")
		'BigEnName = getEnName(RootID)
		CityName = rsCity("CityName")
		EnName = rsCity("EnName")
		City = City & "<a href=""" & SitePath
		if RootID <> 0 then
			City = City & getEnName(RootID) & "/"
		End if
		City = City &Lcase(EnName)&".html"">" & CityName & "招聘会</a>"
	rsCity.movenext
	loop
	rsCity.close
	set rsCity = nothing
	getCity = City
End Function

Function getEnName(RID)
	set rsEnName = conn.execute("select EnName from [City] where rootID = 0 and ID = "&RID)
	if not rsEnName.eof then
		getEnName = Lcase(rsEnName("EnName"))
	End if
	set rsEnName = nothing
End Function
%>
<body>
<div id="container">
	<div id="header">
		<h1 id="logo"><a href="../" title="返回首页">招聘会</a></h1>
		<div id="thisCity">北京招聘会<a href="javascript:void(0)" onclick="changeCity()">切换城市 &raquo;</a></div>
		<div id="searchBar">
			<div id="tabType">
				<span class="cur">招聘会</span>
			</div>
			<div class="district"></div>
			<form action="search/" method="post" id="searchForm">
			<div>
				<input type="text" name="keyword" value="请输入关键字" onfocus="this.select();this.className='isColor'" />
				<label>
				<select name="province">
				</select>
				<select name="city">
				</select></label>
				<button type="submit">搜 索</button>
			</div>
			</form>
		</div>
	</div>
	<!--\\ end header start nav \\-->
	<ul id="nav">
		<li><a href="#">首页</a></li>
		<li class="cur"><a href="#">人才联盟</a></li>
		<li><a href="#">职场资讯</a></li>
		<li><a href="#">资源下载</a></li>
		<li><a href="#">发布招聘会</a></li>
	</ul>
	<!--\\ end nav start category \\-->
	<div class="category clear">
		<div class="citys">
			<%=getCity%>
		</div>
		<div class="provinces">
			<%=getProvince%>
		</div>
		<h3 class="pub"><a href="publish/" title="免费发布招聘会信息">免费发布招聘会信息</a></h3>
	</div>
	<!--\\ end category start main \\-->
	<div class="fairs">
		<div class="fair-location">
			<h3 class="city-name">北京招聘会</h3>
			<ul id="fairTab">
				<li class="cur"><a href="javascript:void(0);">最新招聘会</a></li>
				<li><a href="javascript:void(0);">热门招聘会</a></li>
			</ul>
			<a class="more" href="#">更多招聘会&raquo;</a>
		</div>
		<div id="fairList">
		<ul>
			<li><a href="/html/200904/14/20090414185610.htm">2009首届地坛书市招聘会</a><em>2009-04-14</em></li>
			<li><a href="/html/200904/13/20090413100059.htm">[2009年4月26日]2009新春在京企业大学生供需招聘会(总第十届)</a><em>2009-04-13</em></li>
			<li><a href="/html/200904/9/20090409232916.htm">[2009年4月1日-4月30日]中国石油大学（北京）2009届毕业生校园招聘月活动</a><em>2009-04-09</em></li>
			<li><a href="/html/200904/9/20090409231714.htm">[2009年4月18日]北京人才市场报客户春季综合类招聘会</a><em>2009-04-09</em></li>
			<li><a href="/html/200904/8/20090408094525.htm">鲍尔多克国际制衣（北京）有限公司招聘生产厂长</a><em>2009-04-08</em></li>
			<li><a href="/html/200904/6/20090406161213.htm">[2009年4月16日]中央财经大学2009年春季校园双选会</a><em>2009-04-06</em></li>
			<li><a href="/html/200904/2/20090402175729.htm">2009年4月10日2009新春在京企业大学生供需洽谈会</a><em>2009-04-02</em></li>
			<li><a href="/html/200904/2/20090402165715.htm">2009年4月29日北京朝阳人才市场第二十二届教培专场招聘会</a><em>2009-04-02</em></li>
			<li><a href="/html/200904/2/20090402165601.htm">2009年4月23日北京海淀人才市场第三十三届机械专场招聘会</a><em>2009-04-02</em></li>
			<li><a href="/html/200904/2/20090402165424.htm">2009年4月22日朝阳人才市场第三十五届金融专场招聘会</a><em>2009-04-02</em></li>
			<li><a href="/html/200904/2/20090402165222.htm">2009年4月16日北京海淀人才市场第二十届服装专场招聘会</a><em>2009-04-02</em></li>
			<li><a href="/html/200904/2/20090402164810.htm">2009年4月15日北京红色传媒专场招聘会</a><em>2009-04-02</em></li>
			<li><a href="/html/200904/2/20090402164538.htm">2009年4月8日北京建筑专场招聘会</a><em>2009-04-02</em></li>
			<li><a href="/html/200904/1/20090401170411.htm">创富投资担保（北京）有限公司招聘</a><em>2009-04-01</em></li>
			<li><a href="/html/200904/1/20090401103037.htm">2009年4月10日华北电力大学关于参加2009届毕业生春季双选会邀请函</a><em>2009-04-01</em></li>
			<li><a href="/html/200903/29/20090329235132.htm">[2009年4月11日]北京农展人才市场—2009年第二场农展系列人才招聘会</a><em>2009-03-29</em></li>
			<li><a href="/html/200903/29/20090329142240.htm">2009年4月北京甘家口人才市场招聘会</a><em>2009-03-29</em></li>
		</ul>
		<ul style="display:none">
			<li><a href="/html/200904/2/20090402165601.htm">2009年4月23日北京海淀人才市场第三十三届机械专场招聘会</a><em>2009-04-02</em></li>
			<li><a href="/html/200904/2/20090402165424.htm">2009年4月22日朝阳人才市场第三十五届金融专场招聘会</a><em>2009-04-02</em></li>
			<li><a href="/html/200904/2/20090402165222.htm">2009年4月16日北京海淀人才市场第二十届服装专场招聘会</a><em>2009-04-02</em></li>
			<li><a href="/html/200904/2/20090402164810.htm">2009年4月15日北京红色传媒专场招聘会</a><em>2009-04-02</em></li>
			<li><a href="/html/200904/2/20090402164538.htm">2009年4月8日北京建筑专场招聘会</a><em>2009-04-02</em></li>
			<li><a href="/html/200904/1/20090401170411.htm">创富投资担保（北京）有限公司招聘</a><em>2009-04-01</em></li>
			<li><a href="/html/200904/1/20090401103037.htm">2009年4月10日华北电力大学关于参加2009届毕业生春季双选会邀请函</a><em>2009-04-01</em></li>
			<li><a href="/html/200903/29/20090329235132.htm">[2009年4月11日]北京农展人才市场—2009年第二场农展系列人才招聘会</a><em>2009-03-29</em></li>
			<li><a href="/html/200903/29/20090329142240.htm">2009年4月北京甘家口人才市场招聘会</a><em>2009-03-29</em></li>
			<li><a href="/html/200904/14/20090414185610.htm">2009首届地坛书市招聘会</a><em>2009-04-14</em></li>
			<li><a href="/html/200904/13/20090413100059.htm">[2009年4月26日]2009新春在京企业大学生供需招聘会(总第十届)</a><em>2009-04-13</em></li>
			<li><a href="/html/200904/9/20090409232916.htm">[2009年4月1日-4月30日]中国石油大学（北京）2009届毕业生校园招聘月活动</a><em>2009-04-09</em></li>
			<li><a href="/html/200904/9/20090409231714.htm">[2009年4月18日]北京人才市场报客户春季综合类招聘会</a><em>2009-04-09</em></li>
			<li><a href="/html/200904/8/20090408094525.htm">鲍尔多克国际制衣（北京）有限公司招聘生产厂长</a><em>2009-04-08</em></li>
			<li><a href="/html/200904/6/20090406161213.htm">[2009年4月16日]中央财经大学2009年春季校园双选会</a><em>2009-04-06</em></li>
			<li><a href="/html/200904/2/20090402175729.htm">2009年4月10日2009新春在京企业大学生供需洽谈会</a><em>2009-04-02</em></li>
			<li><a href="/html/200904/2/20090402165715.htm">2009年4月29日北京朝阳人才市场第二十二届教培专场招聘会</a><em>2009-04-02</em></li>
		</ul>
		</div>
	</div>
	<div class="side">
		<div class=""></div>
	</div>
	<div class="clear"></div>
	<div id="links">
		<strong>友情链接：</strong><a href="http://cs.focus.cn" rel="external">焦点长沙房地产网</a> <a href="http://www.zhuannet.com" rel="external">赚网手机商城</a> <a href="http://www.hnhaojob.com" rel="external">湖南人才网</a> <a href="http://www.chinaenglish.com.cn" rel="external">英文歌曲</a> <a href="http://www.lady361.com/" rel="external">女性361</a> <a href="http://aiml.rednet.cn/" rel="external">红网爱美丽</a> <a href="http://www.cztxx.com" rel="external">长株潭信息网</a> <a href="http://www.hn84.cn/" rel="external">湖南巴士网</a> <a href="http://www.hunan1234.com" rel="external">湖南论坛</a> <a href="http://bbs.lrn.cn/" rel="external">资源论坛</a> <a href="http://www.hxonl.com" rel="external">湖湘网</a> <a href="http://www.5308.com/" rel="external">逍遥导航</a> <a href="http://www.c178.com/" rel="external">旅游导航</a> <a href="http://www.zjjvip.com" rel="external">张家界旅游网</a> <a href="http://onshop.2118.com.cn" rel="external">商品驿站</a> <a href="http://www.2118.com.cn" rel="external">湖南信息港</a> <a href="http://home.cs.soufun.com/" rel="external">搜房长沙家居</a> <a href="http://www.0731car.net" rel="external">长沙租车</a> <a href="http://www.ebok.cn" rel="external">易博客</a> <a href="http://www.czt123.com/" rel="external">长株潭便民网</a> <a href="http://www.baoku168.com/" rel="external">管理</a> <a href="http://www.ershou.net" rel="external">二手网</a> <a href="http://www.ajljc.com" rel="external">安居乐家居建材网</a> <a href="http://www.3baodian.com" rel="external">三宝殿网</a> <a href="http://www.cszf.net" rel="external">长沙租房网</a>
	</div>
	<hr />
	<div class="footer clear">
		<h6>招聘会-UJobOK.com</h6>
		<div class="fRight">
			<p class="copylink"><a href="#">关于优卓</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="#">服务条款</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="#">隐私保护</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="#">人才联盟</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="#">意见反馈</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="#">联系我们</a></p>
			<p class="copyright">&copy; 2006-2009  <a class="domain" href="http://ujobok.com"><span class="u">u</span>job<span class="ok">ok</span>.com</a>  All Rights Reserved&nbsp;&nbsp;|&nbsp;&nbsp;<span class="mii">京B2－200800SB</span></p>
		</div>
	</div>
</div>
</body>
</html>
